package com.woniu.outlet.dao;

import com.woniu.outlet.po.PurchasePo;
import com.woniu.outlet.po.PurchasePoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface PurchasePoMapper {

    long countByExample(PurchasePoExample example);

    int deleteByExample(PurchasePoExample example);
    int deleteByPrimaryKey(Long id);

    int insert(PurchasePo record);
    int insertSelective(PurchasePo record);

    List<PurchasePo> selectByExample(PurchasePoExample example);
    PurchasePo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PurchasePo record, @Param("example") PurchasePoExample example);
    int updateByExample(@Param("record") PurchasePo record, @Param("example") PurchasePoExample example);
    int updateByPrimaryKeySelective(PurchasePo record);
    int updateByPrimaryKey(PurchasePo record);
}